﻿using Dora.Tools.Enums.Order;
using Surging.Core.CPlatform.EventBus.Events;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.Events.MessageEvents.Order
{
    /// <summary>
    /// 订单操作Event
    /// </summary>
    public class OrderActionEvent : IntegrationEvent
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        public OrderActionType ActionType { get; set; }

        /// <summary>
        /// 消息体
        /// </summary>
        public string Body { get; set; }
    }
    /// <summary>
    /// 操作日志Body
    /// </summary>
    public class ContractBody
    {
        /// <summary>
        ///大社ID
        /// </summary>
        public int OrgId { get; set; }
        /// <summary>
        ///合并订单号
        /// </summary>
        public string CombinedOrderNo { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        ///退款金额
        /// </summary>
        public decimal RefundPrice { get; set; }
        /// <summary>
        /// 操作人Id
        /// </summary>
        public Guid OpUserId { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string OpUserName { get; set; }


    }
}
